using ASP;
using System;
using System.Web;
using System.Web.Profile;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class IMS_ad_ADPrevrew : Page, IRequiresSessionState
{
	protected Literal ADContent;
	protected HtmlForm form1;
	protected DefaultProfile Profile
	{
		get
		{
			return (DefaultProfile)this.Context.Profile;
		}
	}
	protected global_asax ApplicationInstance
	{
		get
		{
			return (global_asax)this.Context.ApplicationInstance;
		}
	}
	protected void Page_Load(object sender, EventArgs e)
	{
		if (HttpContext.Current.Request.Url.Port.ToString() != "80")
		{
			string text = ":" + HttpContext.Current.Request.Url.Port.ToString();
		}
		this.ADContent.Text = string.Concat(new string[]
		{
			"<script type='text/javascript' charset=\"gb2312\" src='http://",
			HttpContext.Current.Request.Url.Host.ToString(),
			"/AD/",
			this.Page.Request["JS"].ToString(),
			"'></script>"
		});
	}
}
